SET(LIBEVENT_ROOT ${PROJECT_SOURCE_DIR}/third/libevent)

INCLUDE_DIRECTORIES(
    ${LIBEVENT_ROOT}/include
)

LINK_DIRECTORIES(
    ${LIBEVENT_ROOT}/lib
)

AUX_SOURCE_DIRECTORY(. SRC_LIST)
ADD_EXECUTABLE(t-libevent ${SRC_LIST})
TARGET_LINK_LIBRARIES(t-libevent event)
